import { ENVstatus } from "@/types/type"

const ENV = import.meta.env.MODE || 'pro'
const ENVconfig:ENVstatus = {
    dev:{
        baseUrl: '/api',
        mockUrl: 'https://www.fastmock.site/mock/ec99e520faf1c6733364883e6ea32098/api',
    },
    test:{
        baseUrl:'',
        mockUrl:''
    },
    pro:{
        baseUrl:'',
        mockUrl:''
    }
}

export default {
    ENV,
    mock: true,
    ...ENVconfig[ENV]
}